加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
SuperSocket.msbuild 1.62 KB
一键复制 编辑 原始数据 按行查看 历史
kerryjiang 提交于 2016-05-30 22:55 . prepare ProtoBase dotnet core package
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
<PropertyGroup>
<Configuration>Release</Configuration>
</PropertyGroup>
<Target Name="Build">
</Target>
<Target Name="Pack">
<Exec Command="nuget pack SuperSocket.nuspec"/>
</Target>
<Target Name="Release-SuperSocketProtoBase">
<MSBuild Projects="ProtoBase\SuperSocket.ProtoBase.Net20.csproj" Targets="Clean;Build" Properties="Configuration=$(Configuration);OutputPath=..\bin\net20\$(Configuration);SignAssembly=True;AssemblyOriginatorKeyFile=..\..\..\SignKeys\supersocket.snk"/>
<MSBuild Projects="ProtoBase\SuperSocket.ProtoBase.Net35.csproj" Targets="Clean;Build" Properties="Configuration=$(Configuration);OutputPath=..\bin\net35-client\$(Configuration);SignAssembly=True;AssemblyOriginatorKeyFile=..\..\..\SignKeys\supersocket.snk"/>
<MSBuild Projects="ProtoBase\SuperSocket.ProtoBase.Portable.csproj" Targets="Clean;Build" Properties="Configuration=$(Configuration);OutputPath=..\bin\profile328\$(Configuration);SignAssembly=True;AssemblyOriginatorKeyFile=..\..\..\SignKeys\supersocket.snk"/>
<Exec Command="dotnet build -c $(Configuration) -f netstandard1.1 -o ..\..\bin\netstandard1.1\$(Configuration)" WorkingDirectory="ProtoBase\dotnet" />
<GetAssemblyIdentity AssemblyFiles="bin\net20\$(Configuration)\SuperSocket.ProtoBase.dll">
<Output TaskParameter="Assemblies" ItemName="myAssemblyInfo"/>
</GetAssemblyIdentity>
<Message Text="SuerSocket.ProtoBase Version: %(myAssemblyInfo.Version)" />
<Exec Command="nuget pack SuperSocket.ProtoBase.nuspec -Properties version=%(myAssemblyInfo.Version)"/>
</Target>
</Project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化