Skip to content

Commit

Permalink
version for Revit 2014
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Tammik committed Aug 21, 2015
1 parent 4deeb90 commit 4691923
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 30 deletions.
14 changes: 7 additions & 7 deletions cs/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,34 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Revit Add-In Title")]
[assembly: AssemblyDescription( "Revit Add-In Description" )]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Autodesk Inc.")]
[assembly: AssemblyProduct( "Revit Add-In Wizard Template Application" )]
[assembly: AssemblyCopyright( "Copyright 2012 © Jeremy Tammik Autodesk Inc." )]
[assembly: AssemblyCopyright( "Copyright 2013 © Jeremy Tammik Autodesk Inc." )]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("118f7279-630d-4661-afe5-c23c23acf46f")]
[assembly: Guid("321044f7-b0b2-4b1c-af18-e71a19252be0")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
Expand Down
23 changes: 14 additions & 9 deletions cs/TemplateRevitCs.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
None
</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
</PropertyGroup>
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
Expand All @@ -21,7 +26,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<StartAction>Program</StartAction>
<StartProgram>$(ProgramFiles)\Autodesk\Revit 2013\Program\Revit.exe</StartProgram>
<StartProgram>$(ProgramW6432)\Autodesk\Revit 2014\Revit.exe</StartProgram>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -31,15 +36,15 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<StartAction>Program</StartAction>
<StartProgram>$(ProgramFiles)\Autodesk\Revit 2013\Program\Revit.exe</StartProgram>
<StartProgram>$(ProgramW6432)\Autodesk\Revit 2014\Revit.exe</StartProgram>
</PropertyGroup>
<ItemGroup>
<Reference Include="RevitAPI">
<HintPath>$(ProgramFiles)\Autodesk\Revit 2013\Program\RevitAPI.dll</HintPath>
<HintPath>$(ProgramW6432)\Autodesk\Revit 2014\RevitAPI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="RevitAPIUI">
<HintPath>$(ProgramFiles)\Autodesk\Revit 2013\Program\RevitAPIUI.dll</HintPath>
<HintPath>$(ProgramW6432)\Autodesk\Revit 2014\RevitAPIUI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
Expand All @@ -61,11 +66,11 @@
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Target Name="AfterClean">
<Delete Files="$(AppData)\Autodesk\REVIT\Addins\2013\$projectname$.addin" />
<Delete Files="$(AppData)\Autodesk\REVIT\Addins\2013\$projectname$.dll" />
<Delete Files="$(AppData)\Autodesk\REVIT\Addins\2014\$projectname$.addin" />
<Delete Files="$(AppData)\Autodesk\REVIT\Addins\2014\$projectname$.dll" />
</Target>
<PropertyGroup>
<PostBuildEvent>copy "$(ProjectDir)$projectname$.addin" "$(AppData)\Autodesk\REVIT\Addins\2013"
copy "$destinationdirectory$\bin\debug\$projectname$.dll" "$(AppData)\Autodesk\REVIT\Addins\2013"</PostBuildEvent>
<PostBuildEvent>copy "$(ProjectDir)$projectname$.addin" "$(AppData)\Autodesk\REVIT\Addins\2014"
copy "$(ProjectDir)bin\debug\$projectname$.dll" "$(AppData)\Autodesk\REVIT\Addins\2014"</PostBuildEvent>
</PropertyGroup>
</Project>
4 changes: 2 additions & 2 deletions cs/TemplateRevitCs.vstemplate
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<VSTemplate Type="Project" Version="2.0.0"
xmlns="http://schemas.microsoft.com/developer/vstemplate/2005">
<TemplateData>
<Name>Revit 2013 Addin</Name>
<Description>Class library template for a Revit 2013 add-in project</Description>
<Name>Revit 2014 Addin</Name>
<Description>Class library template for a Revit 2014 add-in project</Description>
<Icon>TemplateIcon.ico</Icon>
<ProjectType>CSharp</ProjectType>
<CreateNewFolder>true</CreateNewFolder>
Expand Down
25 changes: 15 additions & 10 deletions vb/TemplateRevitVb.vbproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
None
</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
</PropertyGroup>
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
Expand All @@ -25,7 +30,7 @@
<DocumentationFile></DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
<StartAction>Program</StartAction>
<StartProgram>$(ProgramFiles)\Autodesk\Revit 2013\Program\Revit.exe</StartProgram>
<StartProgram>$(ProgramW6432)\Autodesk\Revit 2014\Revit.exe</StartProgram>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -36,15 +41,15 @@
<DocumentationFile></DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
<StartAction>Program</StartAction>
<StartProgram>$(ProgramFiles)\Autodesk\Revit 2013\Program\Revit.exe</StartProgram>
<StartProgram>$(ProgramW6432)\Autodesk\Revit 2014\Revit.exe</StartProgram>
</PropertyGroup>
<ItemGroup>
<Reference Include="RevitAPI">
<HintPath>$(ProgramFiles)\Autodesk\Revit 2013\Program\RevitAPI.dll</HintPath>
<HintPath>$(ProgramW6432)\Autodesk\Revit 2014\RevitAPI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="RevitAPIUI">
<HintPath>$(ProgramFiles)\Autodesk\Revit 2013\Program\RevitAPIUI.dll</HintPath>
<HintPath>$(ProgramW6432)\Autodesk\Revit 2014\RevitAPIUI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
Expand Down Expand Up @@ -79,12 +84,12 @@
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
<Target Name="AfterClean">
<Delete Files="$(AppData)\Autodesk\REVIT\Addins\2013\$projectname$.addin" />
<Delete Files="$(AppData)\Autodesk\REVIT\Addins\2013\$projectname$.dll" />
<Delete Files="$(AppData)\Autodesk\REVIT\Addins\2014\$projectname$.addin" />
<Delete Files="$(AppData)\Autodesk\REVIT\Addins\2014\$projectname$.dll" />
</Target>
<PropertyGroup>
<PostBuildEvent>copy "$(ProjectDir)$projectname$.addin" "$(AppData)\Autodesk\REVIT\Addins\2013"
copy "$(ProjectDir)bin\debug\$projectname$.dll" "$(AppData)\Autodesk\REVIT\Addins\2013"
<PostBuildEvent>copy "$(ProjectDir)$projectname$.addin" "$(AppData)\Autodesk\REVIT\Addins\2014"
copy "$(ProjectDir)bin\debug\$projectname$.dll" "$(AppData)\Autodesk\REVIT\Addins\2014"
</PostBuildEvent>
</PropertyGroup>
</Project>
</Project>
4 changes: 2 additions & 2 deletions vb/TemplateRevitVb.vstemplate
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<VSTemplate Type="Project" Version="2.0.0"
xmlns="http://schemas.microsoft.com/developer/vstemplate/2005">
<TemplateData>
<Name>Revit 2013 Addin</Name>
<Description>Class library template for a Revit 2013 add-in project</Description>
<Name>Revit 2014 Addin</Name>
<Description>Class library template for a Revit 2014 add-in project</Description>
<Icon>TemplateIcon.ico</Icon>
<ProjectType>VisualBasic</ProjectType>
<CreateNewFolder>true</CreateNewFolder>
Expand Down

0 comments on commit 4691923

Please sign in to comment.