Open AndreasErikCoder opened 4 years ago
Same problem here, very strange... Guess I have to do without unit tests for now :(
<GenerateErrorForMissingTargetingPacks>false</GenerateErrorForMissingTargetingPacks>
As a temporary workaround, you could add this to your project file.
I received this recently too. The workaround worked for compilation, but not runtime. In my case, a dependency was set up to use "bait and switch" style, which did not support Mac. My guess is that it attempted to fallback and use the Windows version, which triggered this error.
I'm having the same problem
so far the workaround is working
tnks @BamButz
same here.
Workaround is not working. When will this get fixed? Any other ideas on how to solve this?
<GenerateErrorForMissingTargetingPacks>false</GenerateErrorForMissingTargetingPacks>
As a temporary workaround, you could add this to your project file.
it working for me
Hello all,
I'm getting "Error NETSDK1073: The FrameworkReference 'Microsoft.WindowsDesktop.App.WPF' was not recognized (NETSDK1073)" while trying to run my test project. Mine is a Xamarin.Forms app which builds and deploys successfully in devices. But the issue I am facing is with the .Net Core app 3.1 unit test project. One suggestion that I came across is regarding Rg.Plugins.Popup. My solution structure is: NaySayApp NaySayApp.Android NaySayApp.iOS NaySayApp.Test Except the test project, others has reference to the above mentioned plugin package. Tried to workaround the issue with PrivateAssets/ExcludeAssets but no luck so far.
The same project works fine in my windows Visual Studio, but fails in MAC.
VS Details are as follows: