I have just started trying to use BIML to generate my SSIS packages. Im currently using VIsual studio 2015 to do everything.
When I add a new BIML file to the project it appears in the Solution explore and I can open the file and edit it. But when I save and close and reopen none of the changes where saved. Is there a setting that i need to change in Visual Studio? Currently I have to edit this file through the use of Notepad++ or something similar.
Visual Studio ScreenShot
As a work around to this issue, you could right click on the file you wish to edit and choose XML (Text) Editor.
Sadly you'll loose intellisence for the C# code
If you open a file twice, once in the BIML editor and once in the XML editor then you can view side by side making your changes in XML but viewing nice formatting in BIML...
Related
s
I want someone to tell me how to put colors on the code so its easier for me to code.
I think you forgot to select unity c# components when installing visual studio,
try again with visual code
If you are talking about Intellisense / syntax highlighting, you need to make sure that you installed Visual Studio Tools for Unity (Note this is needed for Visual Studio only and you may already have it installed).
Then follow these steps:
Close Visual Studio
In Unity, go to Edit > Preferences > External Tools
Click on the External Script Editor dropdown (this should be on which ever Visual Studio editor you are using or any other supported editor).
Make sure Embedded packages and Local Packages is checked under Generate csproj files for:
Click on Regenerate project files
Open any C# script and check if syntax highlighting is working.
In the worst case, if that does not work, you can close Unity and delete everything except the Assets/ and Project Settings/ folders (as well as anything you explicitly added) in your project's root directory. Unity will regenerate the project folders and files again when you open the project in the editor. It may just be that some of your project files were corrupt.
Also, in case I misinterpreted your question and you are talking about coloring the output in the console window within the editor, you can try using rich text which I believe is supported by Unity's console window in the latest versions.
Example:
Debug.Log("<color=red>this is red text</color>");
For more info on that:
https://docs.unity3d.com/Packages/com.unity.ugui#1.0/manual/StyledText.html
Sometimes when I've change some file and type Ctrl+S, Visual Studio 2013 Professional doesn't save it in normal way but propose me Save this file as... in Save File Dialog and then in folder with my file appears another file like xjxklb2q.10h or brq1p3lm.0gi. Anybody knows what is going on?
I'd log a bug to Visual Studio. If you look in the top right corner there's a smiley face that allows you to "send a frown" - just describe what you were doing and it will be picked up by someone in the platform team.
I am interested to create a visual studio 2013 extension. I have gone through some of the msdn links. I am looking for adding one extra option when you right click on any .cs file/folder/project/solution, then on clicking that option some processing will be done on the .cs file/s. And lastly when the processing is done, the output should get print on a result window.
Edit -> Or May be Right Click -> Processing on .cs files -> open a windows form.
Similar to what happens when we do - Search/Replace in all files.
I know there are some options like - VSIX Project template, Editor templates, Visual Studio Package and Visual Studio Shell Isolated.
But i am not getting which one will help me out.
Any thoughts on this?
Thanks,
jash
I got the answer - we have to create a new VS package
I want to create customized ribbon on my excel sheet. I saw some of the tutorial (e.g, http://www.youtube.com/watch?v=hn3Qkp4Jw34) where they used Open XML package editor power tool for visual studio 2010 and worked on some xml configuration file to add ribbon. Hence I downloaded the tool and installed it. But when I drag and drop the excel file to the VS-2010, the file instead of opening in the VS editor it is opening in its new excel window. I tried to do same thing for a word file but still it is opening in new word window instead of opening in VS editor. Anybody could you please help me regarding this. I was using Visual Studio 2012 but then I came to know that Open XML package editor power tool for visual studio 2010 won't work for VS-2012 hence Installed VS-2010 but still getting same problem.
Thank you
Anup, Have you tried going to File->Open from Visual Studio?
If that opens it from an Office client application as well, then the Visual Studio Package Editor is not the default option for opening documents of that file extension.
If the document is a part of a solution (you can just create a new blank solution and add it in) you can right click on the file from Solution Explorer and choose "Open With", from there you can choose to open that file as a "Package File", and you can also select this as the default way to "open" files of that extension in Visual Studio.
I work for Microsoft and have just updated this plugin to work with VS2012 and 2013. Drag and drop should work in all the VS versions (I just tested it) but perhaps it's worth trying downloading the updated extension from the Gallery and seeing if it works for you in the newer VS version.
When using Visual Studio to edit Reporting Services *.rdl files, the default designer used is from the "Microsoft SQL Server Reporting Services Designers" installed product.
When viewing the RDL code, this code is displayed as plain text and I want to take advantage of the XML Editor in visual studio.
Linking the *.rdl extension to the XML editor in Tools>Options>Text Editor>File Extension has the nasty side effect that while the rdl is now shown in the XML editor, the original report designer completely disappears.
Is there some other way to do this?
thanks
For any file you can click the arrow on the size of the open button in the open file dialog and select open with... From there you can select the XML editor. There are some other useful open with items in there as well.
You should be able to view and modify the XML by doing a view source on the RDL file. That way you'll still be able to use the designer when needed.
It would seem that the Report Designer for Visual Studio 2005 did not provide XML Editor support when you click "View Source"; where the 2008 version does.
While "solved", this is just a little inconvenient when you still need to develop RDL in 2005 compatibility mode.