Nice3point / RevitTemplates

Templates for creating Revit add-ins
MIT License
230 stars 32 forks source link

Can't find configurations in the solution by patterns: Installer #21

Closed chuongmep closed 2 years ago

chuongmep commented 2 years ago

Dear @Nice3point Currently i am getting this error with config, can you give me some hint info for this, even though i have already added config. Thanks you.

<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
        <Optimize>true</Optimize>
        <DebugType>none</DebugType>
    </PropertyGroup>

image

Nice3point commented 2 years ago

@chuongmep did you create a project based on a template?

Nice3point commented 2 years ago

by default, the Installer solution configuration is created, you apparently do not have it изображение

chuongmep commented 2 years ago

@Nice3point yes i have, let see https://github.com/chuongmep/RevitAddInManager/tree/dev_NET6 i am making msi installer for addinmanager tool, can you take a look at it ?

chuongmep commented 2 years ago

by default, the Installer solution configuration is created, you apparently do not have it изображение

oh, i miss that, thanks so much

Nice3point commented 2 years ago

@chuongmep there are no configured configurations in the project at all изображение

and there is no need to manually copy the code from the RevitLookup project create a new project with Visual Studio 2022 or use the command line dotnet new revit-sln -n RevitAddInManager dotnet new revit-addin -n RevitAddInManager

chuongmep commented 2 years ago

i messed up with release config and project name, thanks a lot, problem resolved.