我有一个C ++ / CLI库,我想针对.NET 3.5 SP1客户端配置文件,但客户端配置文件不会出现在可用的框架的名单。是否有可能做到这一点?
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?
这是可能的和ndash的;如果不通过用户界面,那么至少通过手动编辑的App.config
文件:
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>
修改的App.config
文件,以便其 supportedRuntime
元素相匹配的上方。
Edit your App.config
file so that its supportedRuntime
element matches the above.