.Net framework 4.8

Grazie wrote on 10/12/2024, 4:01 AM

Edward Troxel has informed me I need 4.8 to run a script he created for me. I’m running Network 1.1. How do I get .net 4.8?

Comments

Dexcon wrote on 10/12/2024, 4:46 AM

Try this:

Go to the old Control Panel (search 'control panel' in Windows taskbar search field) and select 'Uninstall a Program':

... and then in the window that opens, click on 'Turn Windows features on or off':

... and in the window that opens, check the 'ASP NET 4.8' checkbox under the '.NET Framework 4.8 Advanced Services' item.

After hitting 'OK', 4.8 should automatically install.

I'm not sure that anything under 'WCF Services' needs to be checked though 'TCP Port Sharing' was checked by default here.

 

Cameras: Sony FDR-AX100E; GoPro Hero 11 Black Creator Edition

Installed: Vegas Pro 15, 16, 17, 18, 19, 20, 21 & 22, HitFilm Pro 2021.3, DaVinci Resolve Studio 19.0.3, BCC 2025, Mocha Pro 2025.0, NBFX TotalFX 7, Neat NR, DVD Architect 6.0, MAGIX Travel Maps, Sound Forge Pro 16, SpectraLayers Pro 11, iZotope RX11 Advanced and many other iZ plugins, Vegasaur 4.0

Windows 11

Dell Alienware Aurora 11:

10th Gen Intel i9 10900KF - 10 cores (20 threads) - 3.7 to 5.3 GHz

NVIDIA GeForce RTX 2080 SUPER 8GB GDDR6 - liquid cooled

64GB RAM - Dual Channel HyperX FURY DDR4 XMP at 3200MHz

C drive: 2TB Samsung 990 PCIe 4.0 NVMe M.2 PCIe SSD

D: drive: 4TB Samsung 870 SATA SSD (used for media for editing current projects)

E: drive: 2TB Samsung 870 SATA SSD

F: drive: 6TB WD 7200 rpm Black HDD 3.5"

Dell Ultrasharp 32" 4K Color Calibrated Monitor

 

LAPTOP:

Dell Inspiron 5310 EVO 13.3"

i5-11320H CPU

C Drive: 1TB Corsair Gen4 NVMe M.2 2230 SSD (upgraded from the original 500 GB SSD)

Monitor is 2560 x 1600 @ 60 Hz

bitman wrote on 10/12/2024, 4:47 AM

@Grazie Below the link to microsoft's .net versions...

https://dotnet.microsoft.com/en-us/download/dotnet-framework

 

APPS: VIDEO: VP 365 suite (VP 22 build 194) VP 21 build 315, VP 365 20, VP 19 post (latest build -651), (uninstalled VP 12,13,14,15,16 Suite,17, VP18 post), Vegasaur, a lot of NEWBLUE plugins, Mercalli 6.0, Respeedr, Vasco Da Gamma 17 HDpro XXL, Boris Continuum 2025, Davinci Resolve Studio 18, SOUND: RX 10 advanced Audio Editor, Sound Forge Pro 18, Spectral Layers Pro 10, Audacity, FOTO: Zoner studio X, DXO photolab (8), Luminar, Topaz...

  • OS: Windows 11 Pro 64, version 24H2 (since October 2024)
  • CPU: i9-13900K (upgraded my former CPU i9-12900K),
  • Air Cooler: Noctua NH-D15 G2 HBC (September 2024 upgrade from Noctua NH-D15s)
  • RAM: DDR5 Corsair 64GB (5600-40 Vengeance)
  • Graphics card: ASUS GeForce RTX 3090 TUF OC GAMING (24GB) 
  • Monitor: LG 38 inch ultra-wide (21x9) - Resolution: 3840x1600
  • C-drive: Corsair MP600 PRO XT NVMe SSD 4TB (PCIe Gen. 4)
  • Video drives: Samsung NVMe SSD 2TB (980 pro and 970 EVO plus) each 2TB
  • Mass Data storage & Backup: WD gold 6TB + WD Yellow 4TB
  • MOBO: Gigabyte Z690 AORUS MASTER
  • PSU: Corsair HX1500i, Case: Fractal Design Define 7 (PCGH edition)
  • Misc.: Logitech G915, Evoluent Vertical Mouse, shuttlePROv2

 

 

Grazie wrote on 10/12/2024, 6:12 AM

@Grazie Below the link to microsoft's .net versions...

https://dotnet.microsoft.com/en-us/download/dotnet-framework

 


@bitman - how is this different to @Dexcon directions?

Dexcon wrote on 10/12/2024, 6:19 AM

I put forward the Control Panel process because some others on the forum over the years have reported installing .NET Framework directly from Microsoft's website didn't work whereas the more complicated Control Panel process did work.

Cameras: Sony FDR-AX100E; GoPro Hero 11 Black Creator Edition

Installed: Vegas Pro 15, 16, 17, 18, 19, 20, 21 & 22, HitFilm Pro 2021.3, DaVinci Resolve Studio 19.0.3, BCC 2025, Mocha Pro 2025.0, NBFX TotalFX 7, Neat NR, DVD Architect 6.0, MAGIX Travel Maps, Sound Forge Pro 16, SpectraLayers Pro 11, iZotope RX11 Advanced and many other iZ plugins, Vegasaur 4.0

Windows 11

Dell Alienware Aurora 11:

10th Gen Intel i9 10900KF - 10 cores (20 threads) - 3.7 to 5.3 GHz

NVIDIA GeForce RTX 2080 SUPER 8GB GDDR6 - liquid cooled

64GB RAM - Dual Channel HyperX FURY DDR4 XMP at 3200MHz

C drive: 2TB Samsung 990 PCIe 4.0 NVMe M.2 PCIe SSD

D: drive: 4TB Samsung 870 SATA SSD (used for media for editing current projects)

E: drive: 2TB Samsung 870 SATA SSD

F: drive: 6TB WD 7200 rpm Black HDD 3.5"

Dell Ultrasharp 32" 4K Color Calibrated Monitor

 

LAPTOP:

Dell Inspiron 5310 EVO 13.3"

i5-11320H CPU

C Drive: 1TB Corsair Gen4 NVMe M.2 2230 SSD (upgraded from the original 500 GB SSD)

Monitor is 2560 x 1600 @ 60 Hz

Steve_Rhoden wrote on 10/12/2024, 6:20 AM

@Grazie One is Automatic, the other is manually doing it yourself.... Personally, i simply always go to the link bitman provided and download what i want, and keep a copy of the installer as backup.

Grazie wrote on 10/12/2024, 6:26 AM

@Steve_Rhoden - You know me too well! If I can get something wrong….. automatic does me😎

Grazie wrote on 10/12/2024, 7:23 AM

4.8 installed. It makes no difference.... sad....

Dexcon wrote on 10/12/2024, 7:31 AM

Did you try the Control Panel install process?

Cameras: Sony FDR-AX100E; GoPro Hero 11 Black Creator Edition

Installed: Vegas Pro 15, 16, 17, 18, 19, 20, 21 & 22, HitFilm Pro 2021.3, DaVinci Resolve Studio 19.0.3, BCC 2025, Mocha Pro 2025.0, NBFX TotalFX 7, Neat NR, DVD Architect 6.0, MAGIX Travel Maps, Sound Forge Pro 16, SpectraLayers Pro 11, iZotope RX11 Advanced and many other iZ plugins, Vegasaur 4.0

Windows 11

Dell Alienware Aurora 11:

10th Gen Intel i9 10900KF - 10 cores (20 threads) - 3.7 to 5.3 GHz

NVIDIA GeForce RTX 2080 SUPER 8GB GDDR6 - liquid cooled

64GB RAM - Dual Channel HyperX FURY DDR4 XMP at 3200MHz

C drive: 2TB Samsung 990 PCIe 4.0 NVMe M.2 PCIe SSD

D: drive: 4TB Samsung 870 SATA SSD (used for media for editing current projects)

E: drive: 2TB Samsung 870 SATA SSD

F: drive: 6TB WD 7200 rpm Black HDD 3.5"

Dell Ultrasharp 32" 4K Color Calibrated Monitor

 

LAPTOP:

Dell Inspiron 5310 EVO 13.3"

i5-11320H CPU

C Drive: 1TB Corsair Gen4 NVMe M.2 2230 SSD (upgraded from the original 500 GB SSD)

Monitor is 2560 x 1600 @ 60 Hz

Grazie wrote on 10/12/2024, 8:39 AM

Did you try the Control Panel install process?

Yes.

Steve_Rhoden wrote on 10/12/2024, 8:56 AM

@Grazie Make sure you also have the latest Microsoft Visual C ++ installed. Sometimes they go hand in hand:

Here is the direct download Microsoft Visual C ++

Here is the link where its from: Link

Also make sure you restart your system after the installations.

bitman wrote on 10/12/2024, 9:53 AM

Chimneys as a captcha that's a new new one!

Bridges, motorcycles , crossroads and traffic lights, but never chimneys before!

@Grazie you are still at windows 10?

APPS: VIDEO: VP 365 suite (VP 22 build 194) VP 21 build 315, VP 365 20, VP 19 post (latest build -651), (uninstalled VP 12,13,14,15,16 Suite,17, VP18 post), Vegasaur, a lot of NEWBLUE plugins, Mercalli 6.0, Respeedr, Vasco Da Gamma 17 HDpro XXL, Boris Continuum 2025, Davinci Resolve Studio 18, SOUND: RX 10 advanced Audio Editor, Sound Forge Pro 18, Spectral Layers Pro 10, Audacity, FOTO: Zoner studio X, DXO photolab (8), Luminar, Topaz...

  • OS: Windows 11 Pro 64, version 24H2 (since October 2024)
  • CPU: i9-13900K (upgraded my former CPU i9-12900K),
  • Air Cooler: Noctua NH-D15 G2 HBC (September 2024 upgrade from Noctua NH-D15s)
  • RAM: DDR5 Corsair 64GB (5600-40 Vengeance)
  • Graphics card: ASUS GeForce RTX 3090 TUF OC GAMING (24GB) 
  • Monitor: LG 38 inch ultra-wide (21x9) - Resolution: 3840x1600
  • C-drive: Corsair MP600 PRO XT NVMe SSD 4TB (PCIe Gen. 4)
  • Video drives: Samsung NVMe SSD 2TB (980 pro and 970 EVO plus) each 2TB
  • Mass Data storage & Backup: WD gold 6TB + WD Yellow 4TB
  • MOBO: Gigabyte Z690 AORUS MASTER
  • PSU: Corsair HX1500i, Case: Fractal Design Define 7 (PCGH edition)
  • Misc.: Logitech G915, Evoluent Vertical Mouse, shuttlePROv2

 

 

jetdv wrote on 10/12/2024, 9:56 AM

I don't know why the compiled version is not working. If you want to try a non-compiled version, here's the script you can save as "Find Regions by Name.cs" and then remove the .dll file and put this .cs file there instead. But the compiled version is still working fine on my systems.

using System;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using ScriptPortal.Vegas;

namespace Test_Script_With_Form
{
    public partial class Form1 : Form
    {
        public Vegas myVegas;

        public Form1(Vegas vegas)
        {
            myVegas = vegas;
            InitializeComponent();

            int numRegions = myVegas.Project.Regions.Count;
            if (numRegions == 0)
            {
                MessageBox.Show("There are no regions in this project.");
                return;
            }

            foreach (ScriptPortal.Vegas.Region myRegion in myVegas.Project.Regions)
            {
                cmbMarkers.Items.Add(myRegion.Label);
            }

        }

        private void button1_Click(object sender, EventArgs e)
        {
            ScriptPortal.Vegas.Region myRegion = myVegas.Project.Regions[cmbMarkers.SelectedIndex];

            myVegas.Transport.CursorPosition = myRegion.Position;
            myVegas.Transport.SelectionStart = myRegion.Position;
            myVegas.Transport.SelectionLength = myRegion.Length;
            if (chkZoom.Checked)
            {
                myVegas.Transport.ZoomSelection();
            }
            this.Close();
        }

        private void Form1_Resize(object sender, EventArgs e)
        {
            cmbMarkers.Width = Form1.ActiveForm.Width - 90;
        }

        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.label1 = new System.Windows.Forms.Label();
            this.button1 = new System.Windows.Forms.Button();
            this.cmbMarkers = new System.Windows.Forms.ComboBox();
            this.chkZoom = new System.Windows.Forms.CheckBox();
            this.SuspendLayout();
            //
            // label1
            //
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(10, 40);
            this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(46, 13);
            this.label1.TabIndex = 1;
            this.label1.Text = "Regions";
            //
            // button1
            //
            this.button1.Location = new System.Drawing.Point(119, 164);
            this.button1.Margin = new System.Windows.Forms.Padding(2);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(151, 31);
            this.button1.TabIndex = 2;
            this.button1.Text = "Find Region";
            this.button1.UseVisualStyleBackColor = true;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            //
            // cmbMarkers
            //
            this.cmbMarkers.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
            this.cmbMarkers.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
            this.cmbMarkers.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cmbMarkers.FormattingEnabled = true;
            this.cmbMarkers.Location = new System.Drawing.Point(61, 37);
            this.cmbMarkers.Name = "cmbMarkers";
            this.cmbMarkers.Size = new System.Drawing.Size(335, 28);
            this.cmbMarkers.TabIndex = 3;
            //
            // chkZoom
            //
            this.chkZoom.AutoSize = true;
            this.chkZoom.Checked = true;
            this.chkZoom.CheckState = System.Windows.Forms.CheckState.Checked;
            this.chkZoom.Location = new System.Drawing.Point(61, 97);
            this.chkZoom.Name = "chkZoom";
            this.chkZoom.Size = new System.Drawing.Size(203, 17);
            this.chkZoom.TabIndex = 4;
            this.chkZoom.Text = "Zoom the selection area to this region";
            this.chkZoom.UseVisualStyleBackColor = true;
            //
            // Form1
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(408, 206);
            this.Controls.Add(this.chkZoom);
            this.Controls.Add(this.cmbMarkers);
            this.Controls.Add(this.button1);
            this.Controls.Add(this.label1);
            this.Margin = new System.Windows.Forms.Padding(2);
            this.Name = "Form1";
            this.Text = "Select Region by Name";
            this.Resize += new System.EventHandler(this.Form1_Resize);
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.Button button1;
        private System.Windows.Forms.ComboBox cmbMarkers;
        private System.Windows.Forms.CheckBox chkZoom;
    }
}

public class EntryPoint
{
    private static Test_Script_With_Form.Form1 form;

    public void FromVegas(Vegas vegas)
    {
        form = new Test_Script_With_Form.Form1(vegas);
        form.ShowDialog();
    }
}

 

Grazie wrote on 10/12/2024, 10:46 AM

@jetdv,

I copied your text into a new Notepad and named it as you said. I then renamed the OLD dll as OLD, I didn't remove it. Rescan the Script Menu - no luck.

Steve_Rhoden wrote on 10/12/2024, 11:37 AM

I'm at a loss what could be the problem on your system. Because saving it as a .cs file should be ok.

Grazie wrote on 10/12/2024, 11:55 AM

I'm at a loss what could be the problem on your system. Because saving it as a .cs file should be ok.

I’m blessed.😇

jetdv wrote on 10/12/2024, 12:15 PM

I can't tell you why either. It's all working fine here. What error message are you getting with the .CS file (and make sure you ARE using the .CS file!)

mark-y wrote on 10/12/2024, 1:09 PM

Just a note, the only way I know how to install 4.8 is through the Control Panel, bc the download doesn't work, at least on Win10

 

Grazie wrote on 10/12/2024, 1:47 PM

Gentlemen thanks for all your input. But now I’m taking off for today.

G

Grazie wrote on 10/14/2024, 7:17 AM

@Grazie Make sure you also have the latest Microsoft Visual C ++ installed. Sometimes they go hand in hand:

Here is the direct download Microsoft Visual C ++

Here is the link where its from: Link

Also make sure you restart your system after the installations.

@Steve_Rhoden - I followed your instructions. Done. No difference.

Steve_Rhoden wrote on 10/14/2024, 7:59 AM

@Grazie Sorry to hear....Then it's something specific to your system that is causing this issue.

Grazie wrote on 10/14/2024, 9:05 AM

@Grazie Sorry to hear....Then it's something specific to your system that is causing this issue.

Right.

Grazie wrote on 10/14/2024, 11:25 AM

Hi Gang! - Edward is still kindly supporting me through this.

jetdv wrote on 10/14/2024, 3:45 PM

I was able to duplicate the error on my Win10 machine (the code above runs fine on my Win 11 machine).

The error appears to be caused by this line:

this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);

Simply changing that line to this solves the problem (so would deleting it):

//this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);

I'm not sure why that line is causing the problem but do know that it fixes the issue. I'm guessing it's related to a Win 10 update as it used to work fine on Win 10 as well as Win 11 and that's a Visual Studio generated line. Interestingly, another script with that exact same line present works fine so I'm not sure what's happening here but getting rid of (or commenting out) that one line does allow it to work.

ChrisD wrote on 10/14/2024, 6:38 PM

Interestingly, another script with that exact same line present works fine so I'm not sure what's happening here but getting rid of (or commenting out) that one line does allow it to work.

This sounds vaguely familiar, where I thrashed around with default fonts and HighDPI.

Does it make a difference if we use

 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi

Or as a hack, hard-setting the font just prior, or up further in the initialization?