Home > Net >  Vs2019 version 16.8. Net core application, project after generated, part of the file is not copied t
Vs2019 version 16.8. Net core application, project after generated, part of the file is not copied t

Time:11-20

Development environment: visual studio 2019 version: 16.8
.net core 2.2 application, the project has the following structure:

Project at the time of debugging, above the red line selected parts of only. Json configuration file will be copied to the Debug directory, other directories and files are not copied, small red dot is ignored on the git at the front of the file changes, how do I can in the Debug or Release pattern, let all the plugins directory file is synchronized to the Debug or Release directory, thank you!!!!!!

CodePudding user response:

Solution in the right-click on the file, select properties, choose always copy

CodePudding user response:

I know of operation, a single file is now a directory is more, the DLL file changes in the directory also pretty frequently, if every time one by one to do this, workload is big, can press the folder to set?

CodePudding user response:

The forehead, netcore and strand the biggest different way is to use nuget

Your project, I probably can see know what you mean, you don't want to quote, change a plug-in,

But this means some alternative? We not there contains, it is dead,

Is normal, although not reference, but you can change your plugin directory generated directly to additional qualifications to directory, it is to live, but also the latest

CodePudding user response:

If you feel that now is quite comfortable, don't want to move on, in fact, all the Settings can be together,

Of course my personal may write directly in the generated events command-line
https://blog.csdn.net/lk142500/article/details/80736322
Of course should be willing to also can follow cef as over, make a v configuration, let him that what x86, x64 the entire folder in the past, (I'm too lazy to study this way, don't like, the command line will be enough for me)

CodePudding user response:

Look at the CEF configuration, I think the
& lt; Link> $(CefSharpTargetDir) \ x86 \ % (RecursiveDir) % (FileName) % (Extension) & lt;/Link>
& lt; CopyToOutputDirectory> PreserveNewest
Include

false

<link> $(CefSharpTargetDir) \ x64 \ % (RecursiveDir) % (FileName) % (Extension) & lt;/Link>
PreserveNewest
Include
false

<link> $(CefSharpTargetDir) \ x86 \ % (RecursiveDir) % (FileName) % (Extension) & lt;/Link>
PreserveNewest
Include
false

<link> $(CefSharpTargetDir) \ x64 \ % (RecursiveDir) % (FileName) % (Extension) & lt;/Link>
PreserveNewest
Include
false



I think is the key place, the manual in SLNS Riga, detected after words netcore, there are many configurations are in SLNS manually add in the detected, this some troubling
  • Related