- Aron Cox
- SnapDevelop
- Monday, 29 June 2020 02:40 PM UTC
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!
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.