开发者

C++/CLI: is it possible to target the .NET 3.5 Client Profile using Visual Studio 2008?

开发者 https://www.devze.com 2023-02-23 07:50 出处:网络
I have a C++/CLI library that I\'d like 开发者_开发技巧to target the .NET 3.5 SP1 Client Profile, but the client profile does not appear in the list of available frameworks. Is it possible to do this?

I have a C++/CLI library that I'd like 开发者_开发技巧to target the .NET 3.5 SP1 Client Profile, but the client profile does not appear in the list of available frameworks. Is it possible to do this?

C++/CLI: is it possible to target the .NET 3.5 Client Profile using Visual Studio 2008?


It's possible – if not through the UI, then at least by manually editing your App.config file:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <startup>
        <supportedRuntime version="v2.0.50727" sku="Client" />
    </startup>
</configuration>

Edit your App.config file so that its supportedRuntime element matches the above.


I think this tries to explain that you need to get the SP1 for VS 2008 in order to access that target (but it's not completely clear that that's exactly what they are saying).

0

精彩评论

暂无评论...
验证码 换一张
取 消