Error from PostSharp 6.0.13-rc

mope's Avatar

mope

16 Jun, 2018 10:46 AM

It seems the error I reported here is back:

http://support.sharpcrafters.com/discussions/problems/5177-warning-...

When I compile, I get the following error:

12>C:\Users\XXX\.nuget\packages\postsharp\6.0.13-rc\build\PostSharp.targets(338,5): error : error: Unhandled exception (postsharp-x64-srv.exe 6.0.13 release | .NET Framework 4.7.2): Unknown framework name: 'Windows,Version=v1.0,Profile=x64'. See below for details.
12>C:\Users\XXX\.nuget\packages\postsharp\6.0.13-rc\build\PostSharp.targets(338,5): error : PostSharp.Sdk.AssertionFailedException: Unknown framework name: 'Windows,Version=v1.0,Profile=x64'.
12>C:\Users\XXX\.nuget\packages\postsharp\6.0.13-rc\build\PostSharp.targets(338,5): error :    at PostSharp.Sdk.Extensibility.Platforms.PlatformInfoFactory.^BHdIRPh+(FrameworkName _0, FrameworkName _1, AssemblyProcessorArchitecture _2)
12>C:\Users\XXX\.nuget\packages\postsharp\6.0.13-rc\build\PostSharp.targets(338,5): error :    at PostSharp.Sdk.Extensibility.Platforms.PlatformInfoFactory.GetPlatformInfo(FrameworkName frameworkName, FrameworkName platformName, AssemblyProcessorArchitecture processorArchitecture)
12>C:\Users\XXX\.nuget\packages\postsharp\6.0.13-rc\build\PostSharp.targets(338,5): error :    at PostSharp.Sdk.Extensibility.Project.^YlzJJkX6M51U(FrameworkName _0, ^\+b5soK0S& _1)
12>C:\Users\XXX\.nuget\packages\postsharp\6.0.13-rc\build\PostSharp.targets(338,5): error :    at PostSharp.Sdk.Extensibility.Project.^sV1/ZPAQ(ProjectConfiguration[] _0)
12>C:\Users\XXX\.nuget\packages\postsharp\6.0.13-rc\build\PostSharp.targets(338,5): error :    at PostSharp.Sdk.Extensibility.Project.^pFnf8wEt(ProjectInvocationParameters _0)
12>C:\Users\XXX\.nuget\packages\postsharp\6.0.13-rc\build\PostSharp.targets(338,5): error :    at PostSharp.Sdk.Extensibility.Project.LoadProject(ProjectInvocationParameters projectInvocationParameters, Domain& domain)
12>C:\Users\XXX\.nuget\packages\postsharp\6.0.13-rc\build\PostSharp.targets(338,5): error :    at PostSharp.Hosting.PostSharpObject.InvokeProject(ProjectInvocation projectInvocation)
12>C:\Users\XXX\.nuget\packages\postsharp\6.0.13-rc\build\PostSharp.targets(338,5): error :    at PostSharp.Hosting.Program.ExecuteImpl()

I also get an additional error related to Newtonsoft.Json which I do not get before the upgrade:

9>C:\Users\XXX\.nuget\packages\postsharp\6.0.13-rc\build\PostSharp.targets(338,5): error PS0264: Could not load file or assembly 'Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified. Build your project with detailed verbosity to see the assembly loading log.
  1. Support Staff 1 Posted by PostSharp Techn... on 18 Jun, 2018 02:20 PM

    PostSharp Technologies's Avatar

    Hello, the bug related to PostSharpParseProjectAssets task has been filed as issue #16163. We've managed to reproduce this only in Visual Studio, so building from command line (msbuild or dotnet CLI) should work.

    The other one where the AssertionFailedException is being thrown is filed as issue #16183. The work-around here is the same as described in the other issue.

    We're closing the ticket for now. We will contact you as soon as the bug fixes have been released.

    For more details on our support policies and prioritization of bug fixes, please visit https://www.postsharp.net/support/policies.

    Best regards,
    -tony

  2. PostSharp Technologies closed this discussion on 18 Jun, 2018 02:20 PM.

  3. PostSharp Technologies re-opened this discussion on 19 Jun, 2018 02:52 PM

  4. Support Staff 2 Posted by PostSharp Techn... on 19 Jun, 2018 02:52 PM

    PostSharp Technologies's Avatar

    Hello,

    we've just released PostSharp 6.0.14-RC which fixes the issue #16163. The other bug is still to be fixed.

    Best regards,
    -tony

  5. Support Staff 3 Posted by PostSharp Techn... on 20 Jun, 2018 07:47 AM

    PostSharp Technologies's Avatar

    Hello,

    PostSharp 6.0.15-rc should fix all issues reported here.

    -gael

  6. Support Staff 4 Posted by PostSharp Techn... on 04 Jul, 2018 02:51 PM

    PostSharp Technologies's Avatar

    Hello,

    We are going to close this request as we believe it was solved. Please feel free to reopen the discussion if you need more help.

    Best regards,
    PostSharp Team

  7. PostSharp Technologies closed this discussion on 04 Jul, 2018 02:51 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac