change the name of output dll
Asked Answered
S

4

45

I am working on .net 1.1 legacy system and need to change the name of outputted dll.

When I go to change the "output file" under project property it's greyed out and won't let me change it.

How do I do this?

Sharell answered 18/7, 2011 at 21:22 Comment(1)
D
75

Depending on which version of Visual Studio.NET you are running, try going to Project Properties -> Application, and then change the Assembly Name field. On earlier versions it might be in a different place but I think the Assembly Name field is still the one you are looking for.

Development answered 18/7, 2011 at 22:12 Comment(2)
For .NET Core you can add <AssemblyName>my-new-name</AssemblyName> to the .csproj file.Maine
So the filename of the DLL cannot be different from the assembly name?Balkan
A
9

In Visual Studio 2017, change the "Target Name" under Project Properties-> Configuration Properties-> General.

Aggy answered 27/8, 2018 at 22:18 Comment(0)
F
3

In a C++ dll project using VS 2019 the option can be found in Project > Properties > Linker > General > Output File. Found answer in this question.

Footlight answered 16/1, 2020 at 18:58 Comment(0)
O
1

I had a similar issue when I refactored a project and my DB project reference kept reverting back to the original naming scheme and outputting the reference in my bin folder. The solution for me was to open the DB projects properties => click on the SQLCLR tab => and then update both the Assembly Name and Default Namespace. Hope this helps.

Obara answered 17/5, 2020 at 21:8 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.