|
14 | 14 | 2018 | net46
|
15 | 15 | 2019 | net47
|
16 | 16 | 2020 | net471
|
| 17 | + 2021 | net48 |
17 | 18 | For example you can exclude Revit 2014, by simply removing net40 target belows
|
18 | 19 | -->
|
19 | 20 | <TargetFrameworks>net471</TargetFrameworks>
|
|
49 | 50 | <PropertyGroup Condition=" '$(TargetFramework)' == 'net471' ">
|
50 | 51 | <RevitVersion>2020</RevitVersion>
|
51 | 52 | </PropertyGroup>
|
| 53 | + <PropertyGroup Condition=" '$(TargetFramework)' == 'net48' "> |
| 54 | + <RevitVersion>2021</RevitVersion> |
| 55 | + </PropertyGroup> |
52 | 56 | <PropertyGroup>
|
53 | 57 | <!-- Forcibly set platform to 'x64' and ignore architecture-related problems -->
|
54 | 58 | <PlatformTarget>x64</PlatformTarget>
|
|
90 | 94 | <PackageReference Include="Autodesk.Revit.SDK" Version="2018.*" Condition=" '$(RevitVersion)' == '2018' " PrivateAssets="All" />
|
91 | 95 | <PackageReference Include="Autodesk.Revit.SDK" Version="2019.*" Condition=" '$(RevitVersion)' == '2019' " PrivateAssets="All" />
|
92 | 96 | <PackageReference Include="Autodesk.Revit.SDK" Version="2020.*" Condition=" '$(RevitVersion)' == '2020' " PrivateAssets="All" />
|
| 97 | + <PackageReference Include="Autodesk.Revit.SDK" Version="2021.*" Condition=" '$(RevitVersion)' == '2021' " PrivateAssets="All" /> |
93 | 98 | </ItemGroup>
|
94 | 99 | <Target Name="PreventRevitSDKCopyLocal" AfterTargets="ResolveReferences">
|
95 | 100 | <ItemGroup>
|
|
118 | 123 | </Content>
|
119 | 124 | </ItemGroup>
|
120 | 125 | <ItemGroup>
|
121 |
| - <Compile Include="Exporter.cs" /> |
122 | 126 | <Compile Include="RibbonHelper.cs" />
|
123 | 127 | <Compile Include="App.cs" />
|
124 | 128 | <Compile Include="ExternalCommand.cs" />
|
|
130 | 134 | <ProjectReference Include="..\Exporter\Threejs.Exporter.csproj" />
|
131 | 135 | </ItemGroup>
|
132 | 136 | <PropertyGroup>
|
133 |
| - <RootNamespace>CodeCave.Revit.Threejs.Exporter.Addin</RootNamespace> |
| 137 | + <RootNamespace>CodeCave.Threejs.Revit.Exporter.Addin</RootNamespace> |
134 | 138 | <AssemblyName>Threejs.Exporter.Addin</AssemblyName>
|
135 | 139 | <Authors>Your name</Authors>
|
136 | 140 | <PackageId>sample.vendor.id.change.it</PackageId>
|
|
0 commit comments