I have been playing with SnapDevelop. I have a dll I wrote in C# .NET Framework Standard which fails to compile after opening the solution in SnapDevelop, even though it works just fine in Visual Studio 2017 and 2019. The error is gives is:
Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='Debug' Platform='AnyCPU'. You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. PBUtils Microsoft.Common.CurrentVersion.targets 780
Now I think the reason is because this has to be an x86 project, and SnapDevelop appears to only handle AnyCPU projects. Is this correct? I created a brand new project in SnapDevelop and it would only let me select a platform of AnyCPU.
I tired removing all platforms other than x86 from Visual Studio and then opening the solution in SnapDevelop, where it reports x86 as the Solution Platform, and the Platform Target in the project properties says x86, but I still get the same error on build.
I learnt some years ago that I had to use x86 for my dll as certain things, I've forgotten which, failed under AnyCPU. I do remember it took me quite a while to work othat out!
Any help welcome :)
Thanks!
My just created library in SnapDevelop, never been in Visual Studio, only allows me to select a platform of AnyCPU, I can change the Platform target to x86, but in the menu bar it says Debug Any CPU and in the Project Properties it says Configuration: Debug, Platform: Any CPU, and if I drop either of those down there is nothing but Any CPU in either of the dropdown lists. When I build it says:
1>------ Rebuild started: Project: DebugTest.csproj, Configuration: Debug AnyCPU ------
DebugTest -> C:\Dev\SnapDevelop\DebugTest\DebugTest\bin\Debug\netstandard2.0\DebugTest.dll
========== Rebuild: 1 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
Which makes me think setting Platform Target to x86 didn't do anything. I am using to being able to configure these myself in Visual Studio, but it seems I can't in SanpDevelop. I can't make even a newly created solution x86 in SnapDevelop as far as I can tell.
This is SnapDevelop 2019 R2 Build 2323.