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?

1

4 Answers 4

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.

1
  • For .NET Core you can add <AssemblyName>my-new-name</AssemblyName> to the .csproj file. Dec 21, 2023 at 20:03
9

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

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.

0
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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.