Can't click and edit table relationship in Analysis Services Project - ssas

I've installed Visual Studio 2022, Data Tools and the extension for Analysis Services projects.
In design window of a data source I can add a relationship between tables and it is represented by the "arrow line"; but when trying to select that relationship with a click or double click to modify it... it's not possible. It cannot be selected and therefore cannot be edited.
If I open the same project with Visual Studio 2019, it is possible to click and edit or double click and work with the same table relationship that was created in 2022 version.
Has anyone else had this issue? Is there a new function to edit relationships in VS2022?
Thanks in advance for your comments.

Related

Where is a dimension structure tab in Visual Studio?

Where can I find a dimension structure tab in Microsoft Visual Studio 2019? Is there a shortcut for it?
I think I found an answer. You just have to simply double click on one of your created dimensions in the solution explorer.

Merging two VB.Net Projects

we are new to Visual Basic Programing, We are working on a project, which has modules. My team worked on these modules and prepared 3 separate Visual Studio Projects. Now, I want to combine then into one Visual Studio Project for Integration purposes.
We are using Visual Studio 2010.
In the solution explorer window (Default is top right) you will need to:
Right click on your Solution
go down to Add
select Existing Project
This will pop up a windows browser window, you will need to navigate to the place that you have the files saved, then click Open
Repeat steps 1-4 for all subsequent items.
Based on what you are saying, it sounds like youll need to add references to the modules in the main project:
Ensure that you are viewing all files in your solution by selecting Show All Files in the Solution Explorer
go down to References
click Add Reference - a window will pop up
in the top left, select Projects
in the popup window Right click on the Name of the project and select Add Reference
You should be good from here.
Your question is not clear wether or not you want to add the code from the individual projects to one project or add your projects to one solution.
In the first instance use the project that you want to be the main project and right-click on the project and select add existing item to select the .vb module file that you want to add.
In the second instance create a blank solution File -> New Project -> Other Project Types -> Visual Studio Solutions -> Blank Solution, then right-click on the new solution and select Add -> Existing project to add your projects

View Designer Code in Visual Studio 2010

What is a standard way to open the Designer (automatically generated) code for a VB file?
As a workaround, I can get to it by searching the entire solution for some keyword that is usually only found in those files: Global, Partial, etc.
Open the Solution Explorer. Along the toolbar at the top there is a tool Show All Files (it is the 2nd from the left on my version of visual studio). Click on that tool. All of your Form files will now have an arrow beside them. click on that arrow to expand. Look for the code file named FormName.designer.vb. Double-click on it to open.
You have to click the "show all files"-Button. Then you can also see the Designer.vb-files.
Note: For C# and VS 2008, but the same applies to VB in VS 2010.
http://peterkellner.net/2007/12/31/visualstudioshowallfiles/
http://blog.brianhartsock.com/2009/09/14/visual-studio-tip-show-all-file/
Keyboard shortcut for Show All Files
Show All Files is a useful little button in the Visual Studio solution explorer to give us a full view of the directory structure our project files are sitting in. When it is off, we only see the files that are explicitly included in the project, but when it is on, we see everything. This makes it very easy to explicitly opt a file into the project without doing an add -> existing item -> find existing item in directory structure and add to project.
The default when creating a new Visual Basic application in Visual Studio is to not show all files, and unfortunatly there is no setting you can adjust to change that.
Open the code file, and in the top-right corner of the code window is a drop-down containing all methods. Open this and select "InitializeComponent".
A screenshot from a newer version. Visual Studio 2015 and 2017 will look like this.

How do I add a custom field to the TFS 2010 sharepoint work item templates?

The manager was some specific fields added to the standard TFS web parts.. I could just make a Sharepoint List but then it would not haev a relation to the TFS bug/Task list..
So is there a way to do this ?
Open Team Explorer for that project.
Menu -> Tools -> Process Editor -> Work Items Types -> Open WIT from Server
From here, you can add additional fields and publish it back out.
Here is an article that will walk you through something similar to what you are trying to accomplish:
Customization of TFS process template – adding field to a Work Item Definition

Can't see or add Website Data Sources in RDLC report in ASP.NET MVC

In the RDLC report, in Design view in Visual Studio 2008, we don't see anything in the Website Data Sources tab and the button to Add New Data Source is grayed out. Only the Refresh button is enabled, and clicking it doesn't do anything. Our business logic layer returns Lists of business objects and the business logic and business object projects are both referenced by the MVC project. This is an MVC app, so there is no App_Code folder.
How do we get our business objects to appear in the Website Data Sources list so we can drag and drop fields from the object onto our RDLC report?
I think I suffered the same problem as this.
I solved this by closing all open VS windows, cleaning, rebuilding the solution then adding a new WebForms page (yes I know its MVC) but it then seemed to trigger a refresh in something and the data sources showed up when we reopened and editted the rdlc file.
I have also been frustrated by this, using VB.NET, but this should fix it:
In addition to the reference to:
Microsoft.ReportViewer.Winforms or
Microsoft.ReportViewer.WebForms
You need to also add a reference to:
Microsoft.ReportViewer.Common
The Data Sources panel is still blank, but when you select Add Dataset, you'll see the correct options.
Try this...
https://msdn.microsoft.com/en-us/library/yft2c9ad.aspx
On the menu bar, choose View, Other Windows, Data Sources (or choose the Shift+Alt+D
I had the same problem in Visual Studio 2008. The solution I accidently found was to do the following:
1 - Launch VS 2008
2 - Open Solution
3 - Open report file (rdlc) and make sure "Website Data Sources" pane is showing
4 - Close VS 2008 (with the rdlc "having focus"
5 - Launch VS 2008
6 - Open Solution
You should now see the data in the Website Data Sources pane
One of the problems I had was that my DataSource class didn't have a parameterless constructor...after the parameterless constructor was added "the class" showed up in the DataSource list.
Small detail, but lost some time to figure it out. :)