Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,22 @@ jobs:
uses: microsoft/[email protected]

- name: Restore
run: nuget restore src/BehaviorsSdk.sln
run: nuget restore src\BehaviorsSdk.sln

- name: Build
run: msbuild src/BehaviorsSdk.sln /p:Configuration=Release
run: msbuild src\BehaviorsSdk.sln /p:Configuration=Release /p:SignType=real

- name: Run Tests
run: dotnet test src/BehaviorsSdk.sln --no-restore --verbosity minimal
uses: microsoft/[email protected]
with:
testAssembly: Test\UnitTests\bin\Release\net462\UnitTests.dll

- name: Pack Behaviors
if: success()
run: msbuild src/Microsoft.Xaml.Behaviors/Microsoft.Xaml.Behaviors.csproj /p:Configuration=Release -t:pack
run: msbuild src\Microsoft.Xaml.Behaviors\Microsoft.Xaml.Behaviors.csproj /p:Configuration=Release -t:pack

- name: Upload NuGet Artifacts
if: success()
uses: actions/upload-artifact@v2
with:
path: src/Microsoft.Xaml.Behaviors/bin/Release/*.nupkg
path: src\Microsoft.Xaml.Behaviors\bin\Release\*.nupkg
6 changes: 5 additions & 1 deletion Test/UnitTests/UnitTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@
<OutputType>Library</OutputType>
<AssemblyName>UnitTests</AssemblyName>
<RootNamespace>UnitTests</RootNamespace>
<SignAssembly>true</SignAssembly>
<SignAssembly>false</SignAssembly>
<DelaySign>true</DelaySign>
<AssemblyOriginatorKeyFile>..\UnitTests.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<PropertyGroup Condition="'$(SignType)' == 'real'">
<SignAssembly>true</SignAssembly>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,6 @@
<DefineConstants>$(DefineConstants);SurfaceIsolation</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.VisualStudio.DesignTools.Extensibility, Version=16.10.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.VisualStudio.DesignTools.Extensibility.16.10.31320.204\lib\net45\Microsoft.VisualStudio.DesignTools.Extensibility.dll</HintPath>
</Reference>
<Reference Include="Microsoft.VisualStudio.DesignTools.Interaction, Version=16.10.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.VisualStudio.DesignTools.Extensibility.16.10.31320.204\lib\net45\Microsoft.VisualStudio.DesignTools.Interaction.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xaml" />
Expand All @@ -60,6 +54,13 @@
<Reference Include="System.Xml" />
<Reference Include="WindowsBase" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.VisualStudio.DesignTools.Extensibility" Version="16.10.31320.204" />
<PackageReference Include="Microsoft.VisualStudioEng.MicroBuild.Core" Version="0.4.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<Compile Include="MetadataTableProvider.cs" />
<Compile Include="MetadataTableProvider.SurfaceIsolation.cs" />
Expand Down
5 changes: 0 additions & 5 deletions src/Microsoft.Xaml.Behaviors.DesignTools/packages.config

This file was deleted.

Loading