multi-targeting

Best practice to include console app in NuGet

谁说我不能喝 提交于 2019-12-23 04:16:08
问题 I'm developing an open-source library which mainly consists of one class-library project targeting .NET Standard 2.0. On top of that, I've also implemented a console app which is the CLI to this library. The console project (for historic reasons) only targets .NET Framework 4.6.2. Now I wonder what would be the best practice in order to make this console app available to the community. On the broadest level, I see two possibilities: Ship the console app as a separate NuGet. Ship the console

I've built a Windows service as “Any CPU”. Why does it run in 32-bit mode on my 64 bit machine? [duplicate]

情到浓时终转凉″ 提交于 2019-12-09 07:25:38
问题 This question already has answers here : What does the Visual Studio “Any CPU” target mean? (8 answers) Closed 5 years ago . I've built a Windows service as "Any CPU". However, when I run it on my 64 bit machine it runs in 32 bit. How can I fix it? I'm using .NET and C#, and my operating system is Windows 2008 R2. If I build it in x64 it correctly loads in 64 bit mode. However, "Any Cpu" -- which is what I want -- loads in 32 bit, even though the machine it's running on perfectly supports 64

Using v90 (VS2008) Platform Toolset in Visual Studio 2015

╄→尐↘猪︶ㄣ 提交于 2019-12-06 04:22:56
问题 Is it possible (and how) to use VS2015 IDE to build native C++ projects using the compiler, linker, the STL and everything else that comes with VS2008? What I'm trying to do is called "C++ Native Multi-Targeting" and is known that e.g. VS2012 allows usage of VS2008 (v90) toolset, for C++ projects, via Project Properties->Configuration Properties->General->Platform Toolset=v90. Normally, out-of-the-box v90 will not be available, but will appear if you make side-by-side installations of VS2008

Using v90 (VS2008) Platform Toolset in Visual Studio 2015

℡╲_俬逩灬. 提交于 2019-12-04 09:58:52
Is it possible (and how) to use VS2015 IDE to build native C++ projects using the compiler, linker, the STL and everything else that comes with VS2008? What I'm trying to do is called "C++ Native Multi-Targeting" and is known that e.g. VS2012 allows usage of VS2008 (v90) toolset, for C++ projects, via Project Properties->Configuration Properties->General->Platform Toolset=v90. Normally, out-of-the-box v90 will not be available, but will appear if you make side-by-side installations of VS2008+VS2010+VS2012 or VS2008+win7.1sdk+VS2012. But I couldn't find so far any reported attempts at bridging

I've built a Windows service as “Any CPU”. Why does it run in 32-bit mode on my 64 bit machine? [duplicate]

空扰寡人 提交于 2019-12-03 09:21:00
This question already has answers here : What does the Visual Studio “Any CPU” target mean? (8 answers) I've built a Windows service as "Any CPU". However, when I run it on my 64 bit machine it runs in 32 bit. How can I fix it? I'm using .NET and C#, and my operating system is Windows 2008 R2. If I build it in x64 it correctly loads in 64 bit mode. However, "Any Cpu" -- which is what I want -- loads in 32 bit, even though the machine it's running on perfectly supports 64 bit. EDIT to add more information based on feedback We do have third party tools as well as reference a c++ managed assembly