-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from specklesystems/sdk-style-proj
feat: move Runner to sdk style proj
- Loading branch information
Showing
18 changed files
with
219 additions
and
655 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<Copyright>Copyright (c) Speckle</Copyright> | ||
<Authors>Speckle</Authors> | ||
<Owners>Speckle</Owners> | ||
<NeutralLanguage>en-US</NeutralLanguage> | ||
<MinClientVersion>2.14</MinClientVersion> | ||
<PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
<RepositoryUrl>https://github.com/specklesystems/xUnitRevit</RepositoryUrl> | ||
<RepositoryType>git</RepositoryType> | ||
<Product>$(AssemblyName) ($(TargetFramework))</Product> | ||
<Version>1.0.0</Version> | ||
<LangVersion>8.0</LangVersion> | ||
<AssemblyName>xUnitRevitRunner</AssemblyName> | ||
<RootNamespace>xUnitRevitRunner</RootNamespace> | ||
|
||
<!--<Nullable>enable</Nullable>--> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<LangVersion>latest</LangVersion> | ||
<NoWarn>$(NoWarn);1591;1701;1702;1705;VSX1000;CS0109;CS0108;CS0618;CS0114;NU1603</NoWarn> | ||
<Platform>AnyCPU</Platform> | ||
|
||
<EnableNETAnalyzers>true</EnableNETAnalyzers> | ||
<AnalysisLevel>latest</AnalysisLevel> | ||
<AnalysisMode>AllEnabledByDefault</AnalysisMode> | ||
|
||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' "> | ||
<IncludeSymbols>false</IncludeSymbols> | ||
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder> | ||
<EmbedUntrackedSources>true</EmbedUntrackedSources> | ||
<DesignTimeBuild>false</DesignTimeBuild> | ||
<DebugType>portable</DebugType> | ||
<DebugSymbols>true</DebugSymbols> | ||
<GenerateDocumentationFile>true</GenerateDocumentationFile> | ||
<Deterministic>true</Deterministic> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> | ||
<DebugType>full</DebugType> | ||
<DebugSymbols>true</DebugSymbols> | ||
</PropertyGroup> | ||
|
||
<Import Project="xUnitRevitRunnerShared\xUnitRevitRunnerShared.projitems" Label="Shared" /> | ||
<ItemGroup> | ||
<ProjectReference Include="..\..\speckle.xunit.runner.wpf\speckle.xunit.runner.wpf\speckle.xunit.runner.wpf.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Reference Include="PresentationCore" /> | ||
<Reference Include="PresentationFramework" /> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="System.Web.Extensions" /> | ||
<Reference Include="System.Xml.Linq" /> | ||
<Reference Include="System.Data.DataSetExtensions" /> | ||
<Reference Include="Microsoft.CSharp" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="System.Net.Http" /> | ||
<Reference Include="System.Xml" /> | ||
<Reference Include="WindowsBase" /> | ||
</ItemGroup> | ||
|
||
<!-- MULTIVERSION POST BUILD EVENTS START --> | ||
<Target Name="PostBuildActions" AfterTargets="PostBuildEvent"> | ||
<CallTarget Condition="$(Configuration.Contains('Debug'))" Targets="AfterBuildDebug" /> | ||
<CallTarget Condition="$(Configuration.Contains('Release'))" Targets="AfterBuildRelease" /> | ||
</Target> | ||
<Target Name="AfterBuildDebug"> | ||
<ItemGroup> | ||
<SourceDLLs Include="$(TargetDir)\**\*.*" /> | ||
<SourceManifest Include="$(TargetDir)*.addin" /> | ||
</ItemGroup> | ||
<Copy DestinationFolder="$(AppData)\Autodesk\REVIT\Addins\$(RevitVersion)\$(TargetName)\%(RecursiveDir)" SourceFiles="@(SourceDLLs)" /> | ||
<Copy DestinationFolder="$(AppData)\Autodesk\REVIT\Addins\$(RevitVersion)\" SourceFiles="@(SourceManifest)" /> | ||
<Message Importance="High" Text="COPY @(SourceManifest)" /> | ||
</Target> | ||
<Target Name="AfterBuildRelease"> | ||
<ItemGroup> | ||
<SourceDLLs Include="$(TargetDir)\**\*.*" /> | ||
<SourceManifest Include="$(TargetDir)*.addin" /> | ||
</ItemGroup> | ||
<Message Importance="High" Text="RELEASE copy from $(TargetDir) to $(SolutionDir)\Release\Release$(RevitVersion)\$(TargetName)\" /> | ||
<Copy DestinationFolder="$(SolutionDir)\Release\Release$(RevitVersion)\$(TargetName)\%(RecursiveDir)" SourceFiles="@(SourceDLLs)" /> | ||
<Copy DestinationFolder="$(SolutionDir)\Release\Release$(RevitVersion)\" SourceFiles="@(SourceManifest)" /> | ||
</Target> | ||
<!--END--> | ||
</Project> |
36 changes: 0 additions & 36 deletions
36
xUnitRevitRunner/xUnitRevitRunner2019/Properties/AssemblyInfo.cs
This file was deleted.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
xUnitRevitRunner/xUnitRevitRunner2019/Properties/launchSettings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"profiles": { | ||
"Profile 1": { | ||
"commandName": "Executable", | ||
"executablePath": "$(ProgramW6432)\\Autodesk\\Revit 2023\\Revit.exe", | ||
"remoteDebugEnabled": true | ||
} | ||
} | ||
} |
98 changes: 10 additions & 88 deletions
98
xUnitRevitRunner/xUnitRevitRunner2019/xUnitRevitRunner2019.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,94 +1,16 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectGuid>{D11AD4C7-D302-44DC-AE02-840788391FE9}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>xUnitRevitRunner</RootNamespace> | ||
<AssemblyName>xUnitRevitRunner</AssemblyName> | ||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<Deterministic>true</Deterministic> | ||
<LangVersion>8.0</LangVersion> | ||
<RevitVersion>2023</RevitVersion> | ||
<TargetFramework>net48</TargetFramework> | ||
<RevitVersion>2019</RevitVersion> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<StartProgram>$(ProgramW6432)\Autodesk\Revit 2023\Revit.exe</StartProgram> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="PresentationCore" /> | ||
<Reference Include="PresentationFramework" /> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="System.Web.Extensions" /> | ||
<Reference Include="System.Xml.Linq" /> | ||
<Reference Include="System.Data.DataSetExtensions" /> | ||
<Reference Include="Microsoft.CSharp" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="System.Net.Http" /> | ||
<Reference Include="System.Xml" /> | ||
<Reference Include="WindowsBase" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\..\speckle.xunit.runner.wpf\speckle.xunit.runner.wpf\speckle.xunit.runner.wpf.csproj"> | ||
<Project>{b6404bad-9314-45f9-9f4d-a644d986fc37}</Project> | ||
<Name>speckle.xunit.runner.wpf</Name> | ||
</ProjectReference> | ||
<ProjectReference Include="..\..\xUnitRevitUtils\xUnitRevitUtils2023\xUnitRevitUtils2023.csproj"> | ||
<Project>{637136c9-ab5d-4f00-948e-c68fae2682d0}</Project> | ||
<Name>xUnitRevitUtils2023</Name> | ||
</ProjectReference> | ||
<PackageReference Include="ModPlus.Revit.API.2019" Version="4.0.0" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="ModPlus.Revit.API.2019"> | ||
<Version>4.0.0</Version> | ||
</PackageReference> | ||
|
||
<ProjectReference Include="..\..\xUnitRevitUtils\xUnitRevitUtils2019\xUnitRevitUtils2019.csproj" /> | ||
</ItemGroup> | ||
<Import Project="..\xUnitRevitRunnerShared\xUnitRevitRunnerShared.projitems" Label="Shared" /> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<!-- MULTIVERSION POST BUILD EVENTS START --> | ||
<Target Name="AfterBuild"> | ||
<CallTarget Condition="$(Configuration.Contains('Debug'))" Targets="AfterBuildDebug" /> | ||
<CallTarget Condition="$(Configuration.Contains('Release'))" Targets="AfterBuildRelease" /> | ||
</Target> | ||
<Target Name="AfterBuildDebug"> | ||
<ItemGroup> | ||
<SourceDLLs Include="$(TargetDir)\**\*.*" /> | ||
<SourceManifest Include="$(TargetDir)*.addin" /> | ||
</ItemGroup> | ||
<Copy DestinationFolder="$(AppData)\Autodesk\REVIT\Addins\$(RevitVersion)\$(TargetName)\%(RecursiveDir)" SourceFiles="@(SourceDLLs)" /> | ||
<Copy DestinationFolder="$(AppData)\Autodesk\REVIT\Addins\$(RevitVersion)\" SourceFiles="@(SourceManifest)" /> | ||
<Message Importance="High" Text="COPY @(SourceManifest)" /> | ||
</Target> | ||
<Target Name="AfterBuildRelease"> | ||
<ItemGroup> | ||
<SourceDLLs Include="$(TargetDir)\**\*.*" /> | ||
<SourceManifest Include="$(TargetDir)*.addin" /> | ||
</ItemGroup> | ||
<Message Importance="High" Text="RELEASE copy from $(TargetDir) to $(SolutionDir)\Release\Release$(RevitVersion)\$(TargetName)\" /> | ||
<Copy DestinationFolder="$(SolutionDir)\Release\Release$(RevitVersion)\$(TargetName)\%(RecursiveDir)" SourceFiles="@(SourceDLLs)" /> | ||
<Copy DestinationFolder="$(SolutionDir)\Release\Release$(RevitVersion)\" SourceFiles="@(SourceManifest)" /> | ||
</Target> | ||
<!--END--> | ||
</Project> | ||
</Project> |
Oops, something went wrong.