0

This is completely self inflicted.

I wrote a bit of software using Visual Studio, when I do this I usually select the .net framework as the target platform. However, by mistake I selected .net6.

Proceeded to write & debug said code and it was all working.

However, when I built the project rather than get the normal "Setup.exe" I got an .exe of the programme itself along with all the associated files. If I clicked on the .exe the programme ran normally.

Now at this point, I could easily just turn this into a .net framework project, rebuild and my problem would be solved.

But then I thought .net6 is supposed to be faster than framework, I don't need framework so, I'll just add a shortcut to the .exe to the Windows task bar.... Win11 wouldn't let me!

So now my question?

  1. Is there a way to get the .net6 programme onto the task bar? I don't want my desktop cluttered.

  2. If not, how do I get the traditional "Setup.exe" file produced from a .net6 project? Yes I did check the Microsoft instructions, that just says use a Setup project in visual studio, which I did, but how do I include the .net6 programme?

Iain
  • 1
  • 1

0 Answers0