Crystal's rpt published to the wrong folder - asp.net-mvc

I am using ASP.NET MVC 2 in Visual Studio 2010. In my project I have created a 'Crystal' folder containing crystal reports .rpt files. I have set the 'build action' of each .rpt files to 'Content', hoping that these .rpt files will be copied to the target folder when I 'publish'.
Those .rpt files were copied to a 'Crystal' folder indeed, but there was a duplicate 'Crystal' folder below the 'bin' folder.
How can I make the 'Crystal' folder not appear inside the 'bin' folder?

Set the Copy to Output Directory option to Do not copy for this file.

Related

macOS - How can I install a new MacTex (LaTeX) package (a folder containing .sty or .bib files) and use it?

I have been struggling to install a new package and use it for TexShop.
What I have tried is searching for the folder path: /texmf/tex/latex
However, even when enabling to see hidden folders, such a folder does not exist on my system. I therefore went ahead and created the three folder manually. I then placed my folders containing the .sty or .bib files inside. This does not seem to be working because I still receive the error that LaTeX could not find the .sty file.
Another folder that I can find within my Library is not the texmf folder but a TeX folder (see screenshot below)
Do I maybe have to place the packages inside one of these folders instead?

deleted csproj File by mistake

I mistakenly deleted the csproj File in my project, and now I'm getting an error message :
now I don't know how can I restore it or make a new one, I couldn't find any file with csproj suffix in template files associating with this project file.
I had the same issue. I followed the below steps and it worked.
Create a new project
Copy its .csproj file into your folder
Rename the .csproj file to your project name

Which should I use the www folder for cordova iOS project?

root/www files in the project does not work when I put it here
iOS platform project/www files in running.
but Cordova build can be reset and check this folder by deleting files?
Which is the correct folder for the project files? and how to prevent file loss during builder?
Thank You...
The correct folder for developing is the www in root.
If you don't want to use cordova build over and over again, you can symlink the content of this folder to the content of the platform www folder.
Or you can write a script, which is running before compiling. This script copies the content to the www folders.
Attention:
Don't copy the whole folder to the platform folders, because in the platform www are some specific scripts, depending of your OS.

TFS Build fails with "Could not copy file" of file not even in the project

I have TFS Build set up, which worked fine until yesterday. Since then I get the following error from one project:
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets
(182): Could not copy the file
"Content\themes\base\images\ui-bg_flat_0_aaaaaa_40x100.png" because it
was not found.
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets
(182): Could not copy the file
"Content\themes\base\images\ui-bg_flat_75_ffffff_40x100.png" because
it was not found. C:\Program Files
(x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets
(182): Could not copy the file
"Content\themes\base\images\ui-bg_glass_55_fbf9ee_1x400.png" because
it was not found.
C:\Program Files
(x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets
(182): Could not copy the file
"Content\themes\base\images\ui-bg_glass_65_ffffff_1x400.png" because
it was not found. C:\Program Files
...and about 10 more...
The files mentioned by the error are nowhere to be found, not in the project nor in any folder of the project.
Does anyone know how to get rid of this error?
At Ln 182 of the .target file is the following:
<Copy SourceFiles="#(Content)" Condition="'%(Content.Link)' == ''"
DestinationFolder="$(WebProjectOutputDir)\%(Content.RelativeDir)"
SkipUnchangedFiles="true"
Retries="$(CopyRetryCount)"
RetryDelayMilliseconds="$(CopyRetryDelayMilliseconds)" />
I also have a second project in the solution which is nearly the same and builds fine.
Grep/Search the entire source tree for those filenames - something must be referencing them.
Adding the missing files to source control solved the problem for me.

In Air iOS, what is the path for the included folder which is above .fla file folder?

I have "assets" folder above "src" folder where .fla file is. The assets folder is included via Air iOS publish setting in Adobe Flash CS6 Professional but I'm having trouble accessing it.
the directory structure looks like this. Main.as is the document class for my project.
c:\
project
assets
bin
lib
src
Main.as
Main.fla
Now if the project was an action script project, I can normally access the assets folder by using a path like "../assets". But in Air for iOS project, it says the folder isn't there.
In the Air iOS publish setting window, it says the included folder path is "c:\project\assets" whereas when I move the assets folder under src folder it just says "assets" and then it can be accessed simply by using a path like "\assets".
Does anyone have an idea where the included folder is placed?
The folder is placed in File.applicationDirectory. If your SWF is being published to the bin folder, you can simplify testing by placing the assets folder inside the bin folder.
Then, to access a file inside the assets folder:
var myFile:File = File.applicationDirectory.resolvePath("assets/SomeFile.jpg");
trace(myFile);

Resources