Publishing error with file copy - silverlight

I have a Silverlight application that I have been trying to deploy to a specific folder locally, but I keep getting an error when trying to copy over the System.Windows.Interactivity.zip. The exact error message is:
Error 2 Copying file ClientBin\System.Windows.Interactivity.zip to
obj\Debug\Package\PackageTmp\ClientBin\System.Windows.Interactivity.zip
failed. Could not find file
'ClientBin\System.Windows.Interactivity.zip'.
I do have a project that has a reference to this dll, but the project compiles just fine. Any ideas why I'm getting this error message?

I found an old zip file and added to the destination folder. Couldn't figure it out but it works this way

Related

Salesforce issue ENOENT: no such file or directory, open '/scripts/scratchOrg/preconfiguration/auth/server.key'

I have encountered a very annoying issue on VSCode for the salesforce project. I had a file called server.key but deleted it a while ago (and btw I am not using Scratch Org). This file is only in /scripts/ folder and not in salesforce org. However, a few days later, no matter whether I retrieve or deploy any file, or run any other command, it gives me an error:
ENOENT: no such file or directory, open '/scripts/scratchOrg/preconfiguration/auth/server.key'.
I tried to reauthorise, uninstall cli, uninstall Salesforce Extension Pack and even removed the whole project and VScode. All these only works for a while but then this error keeps appearing. I don't understand why it keeps pointing to this deleted file, even though I want to deploy/receive a totally different file

ERROR in No files matching 'xxx.js' were found

I am developing a small project using webpack, React.js with Visual Studio. After renaming, deleting and creating a certain file with the name xxx.js I have got an error:
ERROR in No files matching 'C:\MyPath\src\ViewLayer\xxx.js' were found.
Failed to compile.
No issues found.
What could be an issue?
In my case I discovered that the entry C:\MyPath\src\ViewLayer\xxx.js exists in C:\MyPath\public\stats.json. I removed this file and restarted the project with regular:
npm start
It has worked. The error disappeared. Now I have:
Compiled successfully.
No issues found.
It is a vierd world :-)

Stackdriver Debug shows "multiple modules matching" error

I am trying to live debug a Python Google App Engine Standard application in Stackdriver Debug console. When I click on a deployed file (main.py) and the line where I want it to break, I get an error message stating "Multiple modules matching" and lists a couple files with the same name.
This is a new deployed version with that filename being unique in my project. I wouldn't expect it to see multiples of the same filename. Because of that error, I am unable to debug the deployed app.
The debugger loops through all the loaded Python modules in the project and may find a file with the same name. When multiple files are listed, copy and paste the full path to the file you are wanting to debug.
Example: apps/[PROJECT]/[VERSION.UNIQUE_ID]/myfile.py:[LINE_NUMBER]
You can copy the full path from the file listed in the error message.

error=13, Permission denied when adding event in CodenameOne

Suddenly, and for no apparent reason, whenever I try to add an event to a form element, like a button, in codenameone I get an error:
Cannot run program /path/to/project/src/theme.res: error=13,
Permission denied
This worked fine for several days before now. But now I get the error every time. I tried to create a brand new project from scratch and still get the error. What is really weird is that the /path/to/project/ is for the original project, not the new one! And when it appears for this case, it is file not found instead of permission denied. (Both files ARE there.)
I have searched all over the net and stack exchange and can't find any other reference to this problem.
I had this same issue. It happened after I deleted a project's files without removing the project from NetBeans first. Not sure why that caused it but that is the only thing I can think of because the theme.res file that "could not be found" was for the project that I had deleted.
For some reason the CN1 designer thinks that your theme.res file is the NetBeans executable.
To fix this, open the designer and click on File -> Setup Netbeans, then find your netbeans executable and select it. For me (on linux) it was
home/user/netbeans-8.1/bin/netbeans

Rebuild is deleting my .lib

Im trying to merge 2 projects in visual studio and getting a LNK1181 error. I have searched on google and tried everything i came across but i simple cant solve the problem.
I am getting the following results:
Performing a build this succeeds.
Performing a Rebuild it fails with error LNK1181: cannot open input file 'a.dll'
Doing a build the output screen shows the dll is created and it is there in the folder.
Doing a rebuild the output screen shows the dll is created but then it is not in the folder. And then the rebuild results in the fail + the error LNK1181.
So what is wrong? What is different on a rebuild?
I can even see in the folder that the dll is beiing created and then removed again..
*I have 1 project that is the main project and creates the .exe, and it relies on a other project to run.
Solution:
I found the problem and is has nothing to do with the LNK error message i am getting.
Apparently a clean -> build is very different from doing just a rebuild. Mainly because i have multiple projects. When doing a clean -> build is first cleans all the files and then builds all the projects.
But doing a rebuild project A is beiing cleaned and build, then project B is beiing cleaned and build etc..
This way the lib generated bij A is beiing deleted. The solution for this is or just do a clean -> build. Or perform my own clean by deleting the files myself and then do a rebuild.
Also i dont feel like spending to much time on this issue when it is just a MSbuild "problem/bug" and doing a clean build is good enough.
linker error is maybe due to some lib is missing.
firstly check whether you have the lib for a.dll,
then add correct path for the lib in Visual Studio.

Resources