Failing in VS2017 for Mac
See original GitHub issueWorks in VS2017 on Windows, but for Mac, I get
Error: Fody: An unhandled exception occurred:
Exception:
Object reference not set to an instance of an object
StackTrace:
at ModuleWeaver.FindCoreReferences () [0x00023] in <751e1554e80f4c618d8f0db19d37b638>:0
at ModuleWeaver.Execute () [0x00012] in <751e1554e80f4c618d8f0db19d37b638>:0
at (wrapper dynamic-method) System.Object:lambda_method (System.Runtime.CompilerServices.Closure,object)
at InnerWeaver.ExecuteWeavers () [0x00087] in <1514fb4c253743788604621fdec363e1>:0
at InnerWeaver.Execute () [0x00030] in <1514fb4c253743788604621fdec363e1>:0
Source:
PropertyChanged.Fody
TargetSite:
Void FindCoreReferences()
(Kumquat.Common)
Target file was a VS2017-style csproj created in VS2017 in Windows. The csproj looks like
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard1.3</TargetFramework>
<PackageTargetFallback Condition=" '$(TargetFramework)' == 'netstandard1.3' ">portable-net45+win81</PackageTargetFallback>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DefineConstants>TRACE;LIBLOG_PORTABLE LIBLOG_PUBLIC</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DefineConstants>TRACE;DEBUG;LIBLOG_PORTABLE LIBLOG_PUBLIC</DefineConstants>
</PropertyGroup>
<ItemGroup>
<None Remove="FodyWeavers.xml" />
</ItemGroup>
<ItemGroup>
<Content Include="FodyWeavers.xml" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="GitVersionTask" Version="3.6.5" PrivateAssets="All" />
<PackageReference Include="PropertyChanged.Fody" Version="2.1.1" PrivateAssets="All" />
<PackageReference Include="Microsoft.AspNet.SignalR.Client" Version="2.2.2" />
<PackageReference Include="PCLSpecialFolder" Version="1.1.0" />
<PackageReference Include="PCLStorage" Version="1.0.2" />
</ItemGroup>
</Project>
And the FodyWeavers.xml is the usual
<?xml version="1.0" encoding="utf-8" ?>
<Weavers>
<PropertyChanged EventInvokerNames="RaisePropertyChange"/>
</Weavers>
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (5 by maintainers)
Top Results From Across the Web
Fail to install visual studio 2017 for mac
my network absolute works, is the website on Microsoft down? or else where can i have the offline install package of vs2017 for...
Read more >Installation of Visual Studio Mac 2017 Keeps failing
I have an older Xamarin App and I need to install VS 2017 to build my IOS version of the app. I am...
Read more >Visual Studio 2017 for Mac version 7.8 Release Notes
We fixed an issue where Visual Studio for Mac would fail to upload APK to Acer Chromebook R11. We fixed an issue where...
Read more >Visual Studio 2017 for Mac Compatibility
Visual Studio 2017 for Mac contains many new and exciting features and IDE productivity enhancements to support cross-platform desktop app ...
Read more >Issue Build Error VS2019 for Mac Preview 3 'The ...
Issue Build Error VS2019 for Mac Preview 3 'The "ResolvePackageAssets" task failed unexpectedly.' General.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I appreciate you being there Simon.
Ahhh. Ok so it was caused by an underlying bug fix in the assembly resolution of of Cecil.
Glad it is working for you. And sorry about the nuget bug, I have fought the battle to get that fixed several times and the answer has always been “by design”