Comments (5)
I have managed to workaround the problem by redefining $(OutDir) with the macro. Just curious why redefining RemoteRootDir does not work. BTW VS Add Macro window misbehaves. At least on two monitors (different sized) over RDP -- it opens behind the screen.
from vslinux.
And I get the error message from the VS --
MSBuild\Microsoft\VC\v160\Application Type\Linux\1.0\Linux.targets(192,5): error : Exception occured while copying sources to remote machine - Could not create directories, mkdir exit code: 1
it cannot copy cpp sources in Dir1 and Dir2 for the following structure:
Dir
-Dir1
-Dir2
I have three projects here: a kind of a front-end in Dir and two back-ends Dir1 and Dir2. VS manages to copy complex header file structures correctly but it fails on cpp files in Dir1 and Dir2 with the error as above.
from vslinux.
Heh, it looks like the directory you choose to copy source files of a project to heavily depends upon where the files of the project lie. So depending which directories the project references through the files it consists of the magic "Remote Build Project Directory" may be
from vslinux.
I also found out that you should not use the ~ for dynamically home path. If the build and debug machine are different and have different users, visual studio looks under the ~ path of the debug machine on the build machine to deploy the file. Another thing is the new linker property page. There are two Output file entries.
The upper one is a path relative to the root folders (root project, root build and root deploy folders) where the output file shall be put to.
The second Output File entry goes for the absolute path where the output file lies on the build machine during deploy time.
from vslinux.
This issue is being closed because we are no longer tracking VS Linux issues on GitHub. If the issue still reproduces, bugs and new suggestions should be reported on the Developer Community forum. It is centralized, better equipped for group voting, and has more visibility.
from vslinux.
Related Issues (20)
- cmake protobuf_generate_cpp HOT 1
- VS2017 GDB exception 'Illegal Instruction' debugging Raspberry Pi build compiled with g++ 4.7 and above HOT 2
- VS 16.2 reports missing rsync during header download HOT 3
- How to debug shared lib for IoT device via gdbserver (Openfolder project launch.vs.json) HOT 2
- test issue HOT 1
- How to load a existing linux project on the WSL HOT 2
- Special chars like accent in passwords are not managed HOT 2
- Ability to add Assembly code to project HOT 2
- How to set defaultRemoteMachineName? HOT 2
- Mixing C and C++ sources break intellisense (CMake, VS2019) HOT 1
- can not find -libqed.a , Id return 1 exit status HOT 1
- ConnectionManager.exe Failed to add connection: No common host key algorithm found HOT 3
- How to configure VS to Debug a root level app on Raspbain HOT 1
- How to remove out dir? HOT 1
- ERROR: Error while trying to enter break state. Debugging will now stop. Failed to find thread 1 for break event HOT 1
- WSL1 Execution Failed HOT 1
- This repo is missing important files HOT 2
- This repo is missing a license file HOT 3
- vs2022 remote debugging Linux CMake project error. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vslinux.