I'm using VB 2010. Added a data source. You can see it in the "Data Sources" window. There are options to refresh and add more data sources. But no option to remove a data source. Obviously I'm missing something. How do I remove a data source?
You need to remove the "data source" from the project. The "Data Sources" tool window shows what data-sources are available in the solution/project.
Related
I've been asked to make cosmetic changes to a report created by a third-party consultant on our CRM Dynamics 2011 system. The report apparently has a "report type" of "Existing File" when viewed in the "Edit" window, but has a "report type" of "Reporting Services Report" when viewed in the list of reports. If anyone can provide some clarity on this, it may be of some help.
Anyway I've been able to download the ".rdl" file behind the report and make the necessary changes (removed a paragraph in the footer). When I re-upload my new ".rdl" file and click the "Save" button, I receive the error of "You can not change the report type for an existing report". However I'm only attempting to change the report template rather than the report type.
My second strategy was to create a new report in the same way that I assume the original report was created. When creating a new report, the first option I am given is to select the "Report Type".
If I go down the path of selecting "Report Wizard Report" for the report type, then I don't get the option to select an ".rdl" file.
If I go down the path of selecting "Existing File" for the report type, then when I try and run my report it unhelpfully downloads the ".rdl" file for me! It also regards the new report as having a "report type" of "Other Report" when viewed in the list of reports.
Can anyone put me out of my misery?
Thanks in advance.
The problem with re-uploading the amended report was with the file extension of the upload.
For some reason when downloading the report file, CRM Dynamics decided to put single quotes around the file names. So instead of:
ReportName.rdl
I received:
'ReportName.rdl'
Once I removed the quotes from the file name, I was able to re-upload successfully.
I'm not sure if this is the right place for this question, so forgive me if it is not.
Our group uses Accurev (AccurBridge) for our source control.
I wanted to know where the vs 2013 source control list is read from? VS is not detection all my source control options all the time, so I would like to make sure that this folder is always in the list.
Thanks,
I recommend you'll install TFS source control explorer extension:
https://visualstudiogallery.msdn.microsoft.com/af70cbb7-1e0d-4d16-bc57-cccc15370c51
Which includes the following features:
Move to Folder
Branch to Folder
Merge from Sources File icon change
Drag & Drop
Show / hide deleted items
Destroy
Source Control changes and fixes
Update Since you added you are using Accurev - go to AccuRev menu and choose Workspace Information.
There you'll see the attribute "Accurev_BIN" which display the folder where AccuRev read its source controlled files.
I hope that support your question.
(Edit for search-ability: called "File Nesting")
I'm not sure if "folding" is the correct term, but the feature I'm referring to is shown in the 1st image below, versus the 2nd one which does not have an expandable tree list node for the code behind file.
Folding:
No folding:
My questions are:
What is the correct name of this feature?
How do I set it?
Why does my Solution Explorer not have this feature enabled when I try to convert my Web Site Project to a Web Application Project?
References:
Upgrading VS 2005 Web Site Projects to be VS 2005 Web Application
Edit
Thanks Sean, but as you can see below, my Nest Related Files button does show up in this project for some reason:
Should have button shown below:
Edit:
I figured out the reason: I accidentally created a C# Web Application Project, and then added VB ASP.NET files to it.
It's called File Nesting.
When a website project is selected in Solution Explorer, the third button in the Solution Explorer toolbar is for "Nest Related Files".
A website project or project file must be selected in Solution Explorer (rather than the root Solution), for the button to appear in the toolbar. The command/tool button is not available when C++/C# projects are selected in Solution Explorer. I don't have a web app project to test but can only conclude that the command is not applicable to web app projects either.
see this related question for a possible registry hack (changing 9.0 to 8.0 in the question's reg script):
Visual Studio 2010 related file nesting
When you are not using a website project, the nesting button in the solution explorer won't appear—but you can still nest files in .NET 5.0 projects.
Here's how you do it:
Open the project's .csproj file. Visual studio can open it in its own viewer, or else you can use your favorite XML or text editor.
Locate or create an appropriate Item Group element. If there's already one that includes some of your files, put it in there for cleanliness and consistency. If there isn't, create a new one.
Create a new Content element for the file you wish to nest. This element's Include attribute should be the name of your desired file.
Add a new DependentUpon child element to your content element. This element's text value should be the name of the file you wish to nest your target file underneath.
Save the project file and Visual Studio will likely prompt you to reload the project. If you did it correctly, your target file should now be nested under your desired file.
There's shockingly few questions and answers that address this situation. The above answer didn't help me, so I figured that I would share what did for posterity.
In VS2008 we have menu Report->Data Sources... which opens "Report Data Sources" from here we can see Project data sources & we can add them into our report by pressing "Add to Report".
but in VS2010 RC there is no such thing like this (no Data Sources... option inside Report menu)
any help?
They moved it. It is located in the View menu under Report Data.
Exists one option on the report named Report Data where you can build a New Datasources and DataSets.
How do you remove the bindings from a VS Team project, is it just a matter of deleting ".vspscc" files?
What is the best way to do this, say I have a project on CodePlex and it is time to package it up for release, but by default the bindings come with the source so when others open the solution it interferes with it.
The simple way to unbind from source control:
Open your project
File -> Source Control -> Change Source Control
Select your project(s)
Click "Unbind"
What worked for me (under TFS, not codeplex)
Copy or move the project folder out of your workspace (I put it in c:\temp), and then open it in VS2008.
Visual studio then shows the following prompt:
The solution appears to be under source control, but its binding information cannot be found. Because it is not possible to recover this missing information automatically, the projects whose bindings are missing will be treated as not under source control.
After this, another dialog appears, as follows:
The solution appears to be under source control, but its binding information cannot be found. Because it is not possible to recover this missing information automatically, the projects whose bindings are missing will be treated as not under source control.
And you can chose Temporarily work uncontrolled, or Permanently remove source control association bindings.
Select the latter, do a Save All, and reload the solution. Profit!